Integrand size = 12, antiderivative size = 33 \[ \int \frac {1}{-5+3 \cos (c+d x)} \, dx=-\frac {x}{4}-\frac {\arctan \left (\frac {\sin (c+d x)}{3-\cos (c+d x)}\right )}{2 d} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {2737} \[ \int \frac {1}{-5+3 \cos (c+d x)} \, dx=-\frac {\arctan \left (\frac {\sin (c+d x)}{3-\cos (c+d x)}\right )}{2 d}-\frac {x}{4} \]
[In]
[Out]
Rule 2737
Rubi steps \begin{align*} \text {integral}& = -\frac {x}{4}-\frac {\arctan \left (\frac {\sin (c+d x)}{3-\cos (c+d x)}\right )}{2 d} \\ \end{align*}
Time = 0.04 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.61 \[ \int \frac {1}{-5+3 \cos (c+d x)} \, dx=-\frac {\arctan \left (2 \tan \left (\frac {1}{2} (c+d x)\right )\right )}{2 d} \]
[In]
[Out]
Time = 0.59 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.55
method | result | size |
derivativedivides | \(-\frac {\arctan \left (2 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{2 d}\) | \(18\) |
default | \(-\frac {\arctan \left (2 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{2 d}\) | \(18\) |
risch | \(-\frac {i \ln \left ({\mathrm e}^{i \left (d x +c \right )}-3\right )}{4 d}+\frac {i \ln \left ({\mathrm e}^{i \left (d x +c \right )}-\frac {1}{3}\right )}{4 d}\) | \(38\) |
parallelrisch | \(\frac {i \left (\ln \left (2 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )-i\right )-\ln \left (2 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )+i\right )\right )}{4 d}\) | \(40\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.79 \[ \int \frac {1}{-5+3 \cos (c+d x)} \, dx=\frac {\arctan \left (\frac {5 \, \cos \left (d x + c\right ) - 3}{4 \, \sin \left (d x + c\right )}\right )}{4 \, d} \]
[In]
[Out]
Time = 0.37 (sec) , antiderivative size = 42, normalized size of antiderivative = 1.27 \[ \int \frac {1}{-5+3 \cos (c+d x)} \, dx=\begin {cases} - \frac {\operatorname {atan}{\left (2 \tan {\left (\frac {c}{2} + \frac {d x}{2} \right )} \right )} + \pi \left \lfloor {\frac {\frac {c}{2} + \frac {d x}{2} - \frac {\pi }{2}}{\pi }}\right \rfloor }{2 d} & \text {for}\: d \neq 0 \\\frac {x}{3 \cos {\left (c \right )} - 5} & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.35 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.73 \[ \int \frac {1}{-5+3 \cos (c+d x)} \, dx=-\frac {\arctan \left (\frac {2 \, \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1}\right )}{2 \, d} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.91 \[ \int \frac {1}{-5+3 \cos (c+d x)} \, dx=-\frac {d x + c - 2 \, \arctan \left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) - 3}\right )}{4 \, d} \]
[In]
[Out]
Time = 14.44 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.15 \[ \int \frac {1}{-5+3 \cos (c+d x)} \, dx=\frac {\mathrm {atan}\left (\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )\right )-\frac {d\,x}{2}}{2\,d}-\frac {\mathrm {atan}\left (2\,\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )\right )}{2\,d} \]
[In]
[Out]